#include "gui/objects/hud/GUIMaxSpeedExceededNotification.h"
#include "gui/objects/hud/GUINextSuggestedActionNotification.h"
#include "gui/objects/hud/GUISpeedometer.h"
#include "gui/objects/hud/GUISpeedometerHand.h"
#include "gui/objects/hud/GUIWrongWayNofitication.h"
#include "gui/objects/GUIHud.h"
#include "util/MathUtils.h"

namespace gui {

GUIHud::GUIHud(CarController* carController, RouteController* routeController) {
	if (carController->goingWrongWay()) {
		this->guiObjects.append(new GUIWrongWayNofitication());
	}
	if (carController->isExceedingMaxSpeed()) {
		this->guiObjects.append(new GUIMaxSpeedExceededNotification());
	}
	this->guiObjects.append(new GUINextSuggestedActionNotification(routeController));
	this->guiObjects.append(new GUISpeedometer());
	this->guiObjects.append(new GUISpeedometerHand(carController));
}

GUIHud::~GUIHud() {

}

}
